@import "~@/assets/scss/function.scss";
.no {
  height:100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  .img {
    display: block;
    width:328px;
    height:328px;
    margin: 0 auto;
  }
  .text-no {
    height:42px;
    font-size:30px;
    font-weight:500;
    color:#333;
    line-height:42px;
    text-align: center;
    margin: 30px 0 0 0;
    padding:0 0 200px 0;
  }
}
.coupon_list{
  padding: 36px 30px;

  li {
    background: #fff;
    border-radius: 10px;
    padding: 22px 26px;
    display: flex;
    position: relative;
    margin-bottom: 32px;

    .left {
      background: $mainColor;
      color: #fff;
      width: 214px;
      border-radius: 10px;
      text-align: center;
      font-weight: 500;
      padding: 18px 0;
      //line-height: 1em;

      .amount {
        font-size: 52px;
      }

      .unit{
        font-size: 28px;
        //margin-top: 16px;
      }
    }

    .right {
      margin-left: 30px;
      flex: 1;

      .coupon_type {
        font-size: 32px;
        line-height: 44px;
        font-weight: 500;
      }
      .due_date{
        color: #999;
        font-size: 24px;
        line-height: 34px;
        margin-top: 12px;
      }
      .use_warp{
        margin-top: 24px;
        text-align: right;
        padding-right: 4px;
        a{
          color: $mainTonalTextColor;
          font-size: 32px;
          line-height: 38px;
        }
      }
    }

    &.used, &.using {
      &::after {
        content: "";
        display: block;
        width: 142px;
        height: 142px;
        background: url("~@/assets/imgs/coupon-list/coupon-used.svg") center/contain no-repeat;
        position: absolute;
        right: 6px;
        bottom: 12px;
      }

      .left {
        opacity: 0.4;
      }
      .right {
        opacity: 0.4;
      }
    }
    &.using {
      &::after {
        background-image: url("~@/assets/imgs/coupon-list/coupon-using.svg");
      }
    }

    &.overdue, &.invalid {
      &::after {
        content: "";
        display: block;
        width: 142px;
        height: 142px;
        background: url("~@/assets/imgs/coupon-list/coupon-overdue.svg") center/contain no-repeat;
        position: absolute;
        right: 6px;
        bottom: 12px;
      }

      .left {
        opacity: 0.3;
        color: #fff;
        background: #BBB;
      }

      .right {
        opacity: 0.3;
      }
    }

    &.invalid {
      &::after {
        background-image: url("~@/assets/imgs/coupon-list/coupon-invalid.svg");
      }
    }

  }
}

